package com.xros.demo.fileserver.service;

import com.xros.demo.fileserver.domain.vo.ResultVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: mzp
 * @Description: 文件服务层
 * @Date: 2024/3/27 11:36
 * @Version: 1.0
 */
public interface IFileService {
    ResultVo<Boolean> saveFile(MultipartFile file);

    ResultVo<Object> saveDirectory(MultipartFile[] file);
}
